<template>
  <div id="app">
    <router-view />
    <div id="nav">
      <router-link to="/hot">
        <div><span class="iconfont icon-dianying"></span></div>
        <div>电影/影院</div>
      </router-link>
      <router-link to="/myvideo">
        <div><span class="iconfont icon-zhibo"></span></div>
        <div>视频</div>
      </router-link>
      <router-link to="/shortvideo">
        <div><span class="iconfont icon-yingyuan"></span></div>
        <div>小视频</div>
      </router-link>
      <router-link to="/show">
        <div><span class="iconfont icon-yanchu"></span></div>
        <div>演出</div>
      </router-link>
      <router-link to="/login">
        <div><span class="iconfont icon-wode"></span></div>
        <div>我的</div>
      </router-link>
    </div>
    <myfooter></myfooter>
  </div>
</template>

<script>
import myfooter from "@/components/commonh/myfooter";

export default {
  components: {
    myfooter,
  },
};
</script>

<style>
/*reset 清除浏览器的默认样式*/
* {
  padding: 0;
  margin: 0;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
}
/*reset*/

#nav {
  z-index: 999;
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-around;
  background: #fff;
}
#nav a div {
  height: 25px;
  line-height: 27px;
  text-align: center;
}
#nav a div span {
  font-size: 24px;
}
#nav a {
  font-size: 12px;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #f03d37;
}
body {
  background: #fff;
}
</style>
